$def with (page, person=None, title='no where')

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>seddit remix &mdash; $title</title>

    <script src="/public/javascripts/rounded.js" type="text/javascript"></script>
    <script src="/public/javascripts/libraries/prototype.js" type="text/javascript"></script>
    <script src="/public/javascripts/libraries/scriptaculous.js?load=builder,effects" type="text/javascript"></script> 
    <script src="/public/javascripts/libraries/modalbox.js" type="text/javascript"></script>

    <script src="/public/javascripts/seddit.js" type="text/javascript"></script>

    <link rel="stylesheet" href="/public/stylesheets/blueprint/screen.css" type="text/css" media="screen, projection" />
    <link rel="stylesheet" href="/public/stylesheets/blueprint/print.css" type="text/css" media="print" />
    <link rel="stylesheet" href="/public/stylesheets/modalbox.css" type="text/css" />
    
    <link rel="stylesheet" href="/public/stylesheets/default.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="/public/stylesheets/bubbles.css" type="text/css" />
    
    
    <script type="text/JavaScript">
    	  window.onload = function() {
    	      settings = {
    	          tl: { radius: 10 },
    	          tr: { radius: 10 },
    	          bl: { radius: 10 },
    	          br: { radius: 10 },
    	          antiAlias: true,
    	          autoPad: true
    	      }
    	      var myBoxObject = new curvyCorners(settings, "rounded");
    	      myBoxObject.applyCornersToAll();
    	  }
	</script>
</head>
<body>

	<div class="container">
        <div class="column span-14" id="header">
            <div class="column span-8 first">
                <h1><a href="/">seddit</a></h1>

                <ul style="margin:0;padding:0;">
                $if person:
                    <li><a href="/dashboard/">dashboard</a></li>
                    <li><a href="/dashboard/recent/">recent</a></li>
                    <li><a href="/rooms/">rooms</a>
                    <li><a href="/ask/">ask</a>
                    <li><a href="/search/">search</a></li>	
                $else:
                    <li><a href="/ask/">ask</a></li>
                	<li><a href="/search/">search</a></li>
                	<li><a href="/help/">help</a></li>
                </ul>
            </div>
            <div class="column span-6 last">
                <p id="logged">
                $if person:
                    you are logged in as <a href="/dashboard/">$person.email</a>, <a href="/logout/">logout</a>.
                $else:
                    you are not logged in. <a href="/login/">login</a> or <a href="/signup/">register</a>
                </p>
            </div>
        </div>
        
        $:page
        
        <div class="column span-14" id="footer">
            <a href="/help/about/">about</a> |
            <a href="http://code.google.com/p/seddit/issues/list">bugs</a> |
            <a href="http://code.google.com/p/seddit/">code</a> |
            <a href="http://revision1.net/">contact</a>
            <p id="copyright">&copy; 2007 to whomever.</p>
        </div>
    </div>


</body>
</html>
